package com.zhoux.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author: taoyi
 * @date: 2021/5/31 10:56
 * @version: 1.0
 * @explain:
 */
@Data
@TableName("demo_user")
@Accessors(chain = true)
public class User implements Serializable {
    private static final long serialVersionUID = 7072547448014229217L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    private Integer age;
    private String sex;
}
